<?php
/**
 * quality.php
 *
 * @copyright 2018 OpenCart.cn
 *
 * All Rights Reserved
 * @link http://guangdawangluo.com
 *
 * @author stiffer.chen <chenlin@opencart.cn>
 * @created 2018-07-09 23:28
 * @modified 2018-07-09 23:28
 */

class ControllerExtensionModuleQuality extends Controller
{
    public function index()
    {
        $image = $this->config->get('module_quality_image');
        if (!$image || !is_file(DIR_IMAGE . $image)) {
            return false;
        }

        $data['image'] = resizeImage($image, 1190, 80);
        return $this->load->view('extension/module/quality', $data);
    }
}